body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
  	font-size: 80%;  /* Enables font size scaling in MSIE */
	color: #213242;
	margin: 0;
	padding: 0;
}


/* header */

#header {
  	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 93%;
}

.superHeader {
  color: rgb(130,128,154);
  background-color: rgb(33,50,66);
  text-align: right;
  margin: 0;
  padding: 0.5ex 10px;
}

.superHeader a {
  color: rgb(195,196,210);
  background-color: transparent;
  text-decoration: none;
  margin: 0;
  padding: 0 0.25ex 0 0;
}

.superHeader a:hover {
  color: rgb(193,102,90);
  background-color: transparent;
  text-decoration: none;
}
 
.midHeader {
  color: white;
  background-color: rgb(61,92,122);
  margin: 0;
  padding: 0.26ex 10px;
}

.headerSubTitle {
  font-size: 151%;
  font-weight: normal;
  font-style: italic;
  margin: 0 0 0.3ex 0;
  padding: 0;
}

.subHeader {
  color: white;
  background-color: rgb(117,144,174);
  margin: 0;
  padding: 0.5ex 10px;
  height: 8px;
}

/* title */

#title {
	padding: 10px;
	font-weight: bold;
	font-size: 95%;
}


/* form */

#results_form {
	width: 690px;
	margin-left: 1%;
	margin-right: 1%;
}

/* autocomplete */

div.auto_complete {
	width: 350px;
	background: #fff;
}

div.auto_complete ul {
	border:1px solid #888;
	margin:0;
	padding:0;
	width:100%;
	list-style-type:none;
}

div.auto_complete ul li {
	margin:0;
	padding:3px;
}

div.auto_complete ul li.selected { 
	background-color: #ffb; 
}

div.auto_complete ul strong.highlight { 
	color: #800; 
	margin:0;
	padding:0;
}

/* databases */

.databases {
	position: absolute;
	top: 80px;
	left: 720px;
	display: inline;
}

#database_list {
	border: 1px solid #c0c0c0;
	list-style-type:none;
	margin: 0.5em;
	padding: 10px;
	font-size: 90%;
	color: blue;
}

.database_stats {
	color: #888;
	font-size: 0.9em;
}

/* Search and Clear buttons */

.buttons {
	clear: left;
	width: 680px;
}

/* messages from search results */

.no_results {
	margin: 0.5em;
	padding: 0.5em;
	border: 1px dashed #ff8080;
	background-color: #ffe0e0;
	color: #000000;
	width: 600px;
}

/* found x results for 'query' */

.results {
	width: 680px; 
	margin-top: 1em;
	float: left;
	font-size: 90%;
	color: #404040;
}

/* debbuging attributes output */
.attr {
	font-size: 80%;
	color: #a0a0a0;

}

/* notice at bottom */
.notice {
	margin-top: 1em;
	color: #a0a0a0;
	font-size: 70%;
	clear: left;
}

/* bar for template switching */
.switch_template {
	float: left;
	font-size: 80%;
	color: #808080;
	padding-bottom: 10px;
}

.switch_template a {
	text-decoration: none;
}

/* div around results */

#results {
	width: 690px;
	margin-left: 1%;
	margin-right: 1%;
}

.html_results {
	clear: left;
	float: left;
	width: 40px;
	width: 690px;
}

/* pager */
.pager {
	margin: 0.5em;
	border-top: 1px dashed #808080;
	clear: left;
	float: left;
}

/* HTML tidy */

.tidy {
	clear: left;
	border: 2px solid #808080;
	margin-top: 1em;
	padding: 1em;
	color: #808080;
}

.tidy tt {
	clear: left;
	display: block;
	background-color: #e0e0e0;
	padding: 2px;
	margin-left: 2em;
	color: #000000;
	text-wrap: suppress;
}

.tidy_error {
	margin-top: 0.5em;
	color: #c00000;
}

.tidy_warning {
	color: #c0c000;
}


/* footer */

.footer {
	width: 720px;
	padding: 20px;
}
